import { Button } from "react-native";

export default function App() {
  const title = '登录';
  const showMsg = () => {};
  return <Button onPress={showMsg} title={title}/>; // 编译后会被替换成 Button 组件的 JSX 代码，即：<button onClick={showMsg}>登录</button>
}
